]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Avoid a warning
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 12 Jul 2019 03:25:54 +0000 (05:25 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Fri, 12 Jul 2019 18:54:49 +0000 (18:54 +0000)
commitc765082f72d69ea2880f93cdb26466e310552cb4
treebdb91cf72d4b85f89cc8e8f908d3a206e2d11cc6
parent7d2c5c1ac9e3fb9972fb58e4b205aef5f7132d69
calendar: Avoid a warning

We will always get a results array from gjs' proxy wrapper, but it
will be empty in the error case; that is, `results` is always defined,
but `results[0]` may not be.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/626
js/ui/calendar.js